<template>
  <div class="home">
    <el-container class="home-container">
      <el-header height="70px">
        <Header />
      </el-header>
      <el-container class="home-content">
        <el-aside width="200px">
          <Nav />
        </el-aside>
        <el-main>
          <Main />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Header from '../components/home/Header.vue'
import Nav from '../components/home/Nav.vue'
import Main from '../components/home/Main.vue'
export default {
  components: {
    Header,
    Nav,
    Main
  }
}
</script>

<style lang="scss" scoped>
.home {
  width: 100%;
  height: 100%;
  .home-container {
    height: 100%;
    .home-content {
      height: 100%;
    }
  }

  .el-header,
  .el-footer {
    background-color: #b3c0d1;
    color: #333;
    line-height: 70px;
  }

  .el-aside {
    background-color: #545c64;
    height: 100%;
  }

  .el-main {
    background-color: #e9eef3;
    color: #333;
    text-align: center;
    height: 100%;
  }
}
</style>
